package com.sh.weblogspringboot.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动类.
 *
 * @author songHai
 * @date 2025年3月23日16:34:24
 */
@SpringBootApplication
@ComponentScan({"com.sh.weblogspringboot.*"})
@EnableScheduling // 启用定时任务
public class WeblogWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(WeblogWebApplication.class, args);
    }

}
